//
//  WTAddGiftService.m
//  WTLiveSDKDemo
//
//  Created by ben on 2016/11/23.
//  Copyright © 2016年 ben. All rights reserved.
//

#import "WTAddGiftService.h"

@implementation WTAddGiftService

- (void)start:(NSDictionary *)param completionHandler:(WTServiceCompletionHandler)completionHandler{
    
    self.subPath = @"/private/addgift";
    self.param = param;
    
    [HYBNetworking postWithUrl:self.subPath refreshCache:YES params:@{@"hash":[self encode]} success:^(id response) {
        completionHandler(response,nil);
    } fail:^(NSError *error) {
        completionHandler(nil,error);
    }];
}
@end
